<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script src="../js/vue.js"></script>
		<div id="app">
			<cpn :c-info="cinfo"></cpn>
		</div>
		
		<template id="cpn">
			<div>{{cInfo}}</div>
		</template>
		<script>
			const cpn={
				template:"#cpn",
				props:{
					cInfo:{
						type:Object,
						default(){
							return {}
						}
					}
				}
			}
			var app = new Vue({
				el: '#app',
				data: {
					cinfo:{
						name:'123',
						age:18
					}
				},
				methods: {

				},
				components:{
					cpn
				}
			})
		</script>

	</body>
</html>
